package com.brodong.animal_remake.common.entities.monster.models;

import com.brodong.animal_remake.Main;
import com.brodong.animal_remake.common.entities.monster.realization.GeckoTestEntity;
import net.minecraft.client.model.geom.ModelLayerLocation;
import net.minecraft.resources.ResourceLocation;
import software.bernie.geckolib3.model.AnimatedGeoModel;

public class GeckoTestModel extends AnimatedGeoModel<GeckoTestEntity> {

    public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation(Main.MOD_ID, "gecko_test"), "main");

    @Override
    public ResourceLocation getModelLocation(GeckoTestEntity object) {
        return new ResourceLocation(Main.MOD_ID, "geo/zombie_farmer3.geo.json");
    }

    //我们生物皮肤材质的路径
    @Override
    public ResourceLocation getTextureLocation(GeckoTestEntity object) {
        //return RenderDund.LOCATION_BY_VARIANT.get(object.getVariant());
        return new ResourceLocation(Main.MOD_ID, "textures/entity/farm_zombie.png");
    }

    //我们生物皮肤动画的路径
    @Override
    public ResourceLocation getAnimationFileLocation(GeckoTestEntity animatable) {
        return new ResourceLocation(Main.MOD_ID, "animations/farm_zombie.animation.json");
    }

}